*{
   box-sizing: border-box;
   margin: 0;
   padding: 0;
}

.wh{
    width: 100%;
    height:100%
}
ol,ul{
    list-style: none;
}
html,body{
   .wh;
    background-color: #F0F0F0;
    
}

@mainColor:lightblue;
.guard{
    .wh;
    display: none;
    position: fixed;
    z-index: 990;
    background-color: black;
    opacity: 0.6;
    top: 0
}
.button{
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    position: absolute;
    color: white;
    cursor: pointer;
}


#nav{
    position:fixed;
    bottom:50px;
    z-index: 900;
   
}

.listContainer{
    width: 90%;
    left: 5%;
    position: fixed;
    top: 44px;  
    display: none; 
    z-index: 1000;
    li{
        border-radius: 20px;
    }
}
.main{
//  padding-top: 44px;
    width: 100%;
    height: 100%;
   
    padding-top: 44px;
    display: flex; 
    margin-bottom: 0;
    padding-bottom: 0;
    header{
        position: fixed;
        top: 0;
        z-index: 900;
        height: 44px;
        width: 100%;
        background-color:white;
        line-height: 44px;
        text-align: center;
        font-size: 18px;
        box-shadow: 0 1px 1px white;
        background-color: lightblue;
//  border-top-left-radius: 200px;
    
    .headerContainer{
        position: relative;
         .menuButton{
            .button;
            left: 10px;
            top: 7px;
            background-color: white;
            color: @mainColor;
    //  border-radius: 50%; 
      
        }
        .searchBtn {
            .button;
            background-color: lightcoral;
            border-radius:50%;
            right: 10px;
            top: 7px;  
        }
       .dataCount{
          position: absolute;
          top: 5px;
    //    right: 45px;
       }
       .titleMessage{
           position: absolute;
           left: 70px;
           top:15px;
//         background-color: white;
           color:white;
       }
    }
   
}  
}
#data-content{
    width: 100%;   
//  margin-top: 10px;
     height: 100%;
     overflow: scroll;
     margin-bottom: 0;
    .messageCon{
        width: 100%;
        display: flex;
        min-height: 100px;
        .author{
            flex-basis: 20%;
//          background-color:lightgreen ;
            padding: 5px;
            .authorPhoto{
                width: 40px;
                 height: 40px;
                 display: block;
                 margin: 0 auto;
            }
            p{
                width: 100%;
                text-align: center;
            }
        }
        .message{
            flex-basis: 80%;
//          background-color: lightpink; 
            overflow-wrap: break-word;  
            overflow: hidden;  
        }
    }
    .listFooter{
        width: 100%;
        height: 20px;
        line-height: 20px;
        
    }
    li{
        border-bottom: 1px solid lightgrey;
        padding:10px 20px;
        box-sizing: border-box;
      
    }
    li:nth-of-type(2n+1){
          border-bottom-left-radius:20px ;
        border-bottom-right-radius:20px ;
    }
    li:nth-of-type(2n){
        border-radius: 20px 20px 0 0;
    }
}
.navMenu{
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    display: none;
//  background-color: lightblue;
    background-color:lightgoldenrodyellow;
    border-radius:0 500px 500px 0 ;
     
    
//  padding-right: 50%;
    header {
        padding-left: 35px;
        
        h1 {
            font-size: 20px;
            font-weight: 700;
             color: white;
        }
    }
    .input-group{
        margin: 10px 0;
        padding-right:40% ;
        label{
            background-color:white ;
            color: lightcoral;
            border: none;
//          border-top-left-radius: 20px !important;
//          border-bottom-left-radius:20px !important;
        }
        input{
            border-radius: 20px;
            border: none; 
            color: lightcoral;                  
        }

    }
    .hideScroll{
        width: 85%;
        height: 100%;
        overflow: hidden;
      
    }
    .navContainer{       
        height: 68%;
        width: 110%;
        overflow: scroll;
        
//      background-color: white;
//      padding-right: 40%;

//      border: 1px solid  black;
      
        .listSecond{
            display: none;
            margin: 0;           
            li{
               width: 70%;
            }
        }
        li{
            width: 80%;
             color: lightcoral;
             border: none;
             border-bottom: 1px solid lightcoral !important;
             border-radius: 0 20px 20px 0;
        }
    }
    
}
.shortcutBtn{
    width: 100%;
    position: fixed;
    bottom:150px;
    
    z-index: 1000;
    div{
        width: 70px;
        margin: 0 auto;
//      border: 1px solid;
          span{
               display: block;
               margin-left: 10px;               
               text-shadow:3px 0 3px #ccc ;
               font-size: 20px;             
               &:hover{
                   cursor: pointer;
               }
         }
         span:nth-of-type(1){
             margin-bottom: 50px;
         }
    }
  
}
.loading{
    .wh;  
    height: 44px;
    line-height: 44px;
    background-color: white;
    div{
        .wh;
        text-align: center;
        p{
            margin: 0;
        }
    }
}
